home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
make
/
icmake-6.000
/
icmake-6
/
icmake
/
exec
/
funexist.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1994-02-08
|
436 b
|
24 lines
/*
\funcref{fun\_exists}{void fun\_exists ()}
{}
{}
{exists()}
{}
{funexist.c}
{
Function {\em fun\_exists()} checks if a file with the name of the
last pushed string exists. If so, {\em reg.vu.intval} is set to 1.
Else, the return register indicates 0.
}
*/
#include "icm-exec.h"
void fun_exists ()
{
reg.type = e_int;
reg.vu.intval = exists (stack [sp].vu.i->ls.str);
}